package cdu.hjx.project.care.service;

import cdu.hjx.project.pojo.Patients;
import cdu.hjx.project.pojo.PatientsDetail;

public interface PatientsService {
    // 添加患者信息
    int insertPatients(Patients patients) throws Exception;
    // 根据患者身份证号查询患者信息
    Patients findByIdCard(String idcard) throws Exception;
    // 最终执行添加患者信息
    boolean addPatients(Patients patients, PatientsDetail patientsDetail) throws Exception;
}
